

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class SupportDocuments
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _DocumentTitleEN ="";
public System.String DocumentTitleEN
{
get { return _DocumentTitleEN;}
set { _DocumentTitleEN = value;}
}
System.String _DocumentTitleAR ="";
public System.String DocumentTitleAR
{
get { return _DocumentTitleAR;}
set { _DocumentTitleAR = value;}
}
System.String _DocumentDescriptionEN ="";
public System.String DocumentDescriptionEN
{
get { return _DocumentDescriptionEN;}
set { _DocumentDescriptionEN = value;}
}
System.String _DocumentDescriptionAR ="";
public System.String DocumentDescriptionAR
{
get { return _DocumentDescriptionAR;}
set { _DocumentDescriptionAR = value;}
}
System.String _DocumentFile ="";
public System.String DocumentFile
{
get { return _DocumentFile;}
set { _DocumentFile = value;}
}
public SupportDocuments()
{
}
public SupportDocuments(System.String __DocumentTitleEN,System.String __DocumentTitleAR,System.String __DocumentDescriptionEN,System.String __DocumentDescriptionAR,System.String __DocumentFile)
{
_DocumentTitleEN = __DocumentTitleEN;
_DocumentTitleAR = __DocumentTitleAR;
_DocumentDescriptionEN = __DocumentDescriptionEN;
_DocumentDescriptionAR = __DocumentDescriptionAR;
_DocumentFile = __DocumentFile;
}
public SupportDocuments(System.Int64 __ID,System.String __DocumentTitleEN,System.String __DocumentTitleAR,System.String __DocumentDescriptionEN,System.String __DocumentDescriptionAR,System.String __DocumentFile)
{
_ID = __ID;
_DocumentTitleEN = __DocumentTitleEN;
_DocumentTitleAR = __DocumentTitleAR;
_DocumentDescriptionEN = __DocumentDescriptionEN;
_DocumentDescriptionAR = __DocumentDescriptionAR;
_DocumentFile = __DocumentFile;
}


             public override bool Equals(object obj)
         {
             if (obj is SupportDocuments)
             {
                 SupportDocuments newObj = (SupportDocuments)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
